package com.cssy.yd.logic.dao;

import java.util.List;
import java.util.Map;

import org.springframework.dao.DataAccessException;

import com.cssy.yd.logic.entity.LogicPoReturnDO;
import com.plat.helper.SearchConditions;

/**
 * ��ݷ��ʶ���ӿ�
 * @since 2013-07-29
 */
public interface LogicPoReturnDAO {

    /**
     * �������
     * @param logicPoReturnDO
     * @return ������ݵ�����
     */
    public String insertLogicPoReturnDO(LogicPoReturnDO logicPoReturnDO) throws DataAccessException;

    /**
     * ͳ�Ƽ�¼��
     * @param logicPoReturnDO
     * @return ����ļ�¼��
     */
    public Integer countLogicPoReturnDOByExample(LogicPoReturnDO logicPoReturnDO) throws DataAccessException;

    /**
     * ���¼�¼
     * @param logicPoReturnDO
     * @return ��Ӱ�������
     */
    public Integer updateLogicPoReturnDO(LogicPoReturnDO logicPoReturnDO) throws DataAccessException;

    /**
     * ��ȡ�����б�
     * @param logicPoReturnDO
     * @return �����б�
     */
    public List<LogicPoReturnDO> findListByExample(LogicPoReturnDO logicPoReturnDO) throws DataAccessException;

    /**
     * ��������ȡlogicPoReturnDO
     * @param id
     * @return logicPoReturnDO
     */
    public LogicPoReturnDO findLogicPoReturnDOByPrimaryKey(String id) throws DataAccessException;

    /**
     * ɾ���¼
     * @param id
     * @return ��Ӱ�������
     */
    public Integer deleteLogicPoReturnDOByPrimaryKey(String id) throws DataAccessException;

    public List<LogicPoReturnDO> find(SearchConditions scs) throws DataAccessException;
    
    public Integer count(SearchConditions scs) throws DataAccessException;
    
    public Integer untreatedPoreturncode(Map<String, Object> map) throws DataAccessException ;
}